package com.leador.listener;

import com.leador.module.response.Result;
import com.leador.module.response.service.ServiceResult;

/**
 * Created by lhy on 2016/8/29.
 */
public abstract class OnServiceListener {
    /**
     * 请求成功回调接口
     * @param result
     */
    public void onRequestSucessCallback(ServiceResult result){};
    /**
     *  请求失败回调接口
     * @param result
     */
    public abstract void  onRequestFailedCallback(Result result);
}
